package ArrayListTest;

public class Phone {
    private String brandname;
    private int price;

    public Phone(){}
    public Phone(String brandname, int price) {
        this.brandname = brandname;
        this.price = price;
    }
    public void setBrandname(String brandname){
        this.brandname = brandname;
    }
    public String getBrandname(){
        return brandname;
    }
    public void setPrice(int price){
        this.price = price;
    }
    public int getPrice(){
        return price;
    }

}
